<?php
$this->headLink(array('href' => '/cms/styles/style.css', 'rel' => "stylesheet", 'type' => "text/css"));
?>

<table width='100%' border='1'>
    <tr>
        <td>Товар</td>
        <td>Кол-во</td>
        <td>Цена за штуку</td>
        <td>Сумма всего</td>
    </tr>    
<?php   
    $summ = 0;//
    for($i = 0; $i<$this->order->count(); $i++) { 
        $item = $this->order->item($i);
    ?>
        <tr style='color:black'>
            <td><?=$item['name']?></td>        
            <td><?=$item['count']?></td>
            <td><?=$item['price']?></td>
            <td><?=$item['summa']?></td>
        </tr>    
<?php    } ?>
<tr>
    <td>Итого:</td>
    <td><?=$this->order->countTotal()?></td>
    <td>&nbsp</td>
    <td><?=$this->order->summa?></td>
</tr>

</table>